.class public Lrexsee/dialog/RexseeImageDialog;
.super Ljava/lang/Object;
.source "RexseeImageDialog.java"

# interfaces
.implements Lrexsee/core/browser/clazz/JavascriptInterface;


# static fields
.field public static final EVENT_ONIMAGEDIALOGDISMISSED:Ljava/lang/String; = "onImageDialogDismissed"

.field public static final EVENT_ONIMAGEDRAGEDOVERTHRESHOLD:Ljava/lang/String; = "onImageDragedOverThreshold"

.field private static final INTERFACE_NAME:Ljava/lang/String; = "ImageDialog"


# instance fields
.field private final mBrowser:Lrexsee/core/browser/Browser;

.field private final mContext:Landroid/content/Context;

.field private final mMap:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Lrexsee/dialog/ImageDialog;",
            ">;"
        }
    .end annotation
.end field

.field private syncTag:Z


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 2
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 38
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 35
    const/4 v0, 0x0

    iput-boolean v0, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    .line 39
    iput-object p1, p0, Lrexsee/dialog/RexseeImageDialog;->mBrowser:Lrexsee/core/browser/Browser;

    .line 40
    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mContext:Landroid/content/Context;

    .line 41
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    .line 42
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onImageDialogDismissed"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 43
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onImageDragedOverThreshold"

    invoke-virtual {v0, v1}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 44
    return-void
.end method

.method static synthetic access$0(Lrexsee/dialog/RexseeImageDialog;)Lrexsee/core/browser/Browser;
    .locals 1

    .prologue
    .line 33
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mBrowser:Lrexsee/core/browser/Browser;

    return-object v0
.end method

.method static synthetic access$1(Lrexsee/dialog/RexseeImageDialog;)Ljava/util/HashMap;
    .locals 1

    .prologue
    .line 34
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic access$2(Lrexsee/dialog/RexseeImageDialog;Z)V
    .locals 0

    .prologue
    .line 35
    iput-boolean p1, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    return-void
.end method


# virtual methods
.method public clearClickCallback(Ljava/lang/String;)V
    .locals 2
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 214
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 218
    :cond_0
    :goto_0
    return-void

    .line 215
    :cond_1
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 216
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_0

    .line 217
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lrexsee/dialog/ImageDialog;->setClickCallback(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method public clearImage(Ljava/lang/String;)V
    .locals 3
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 182
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 200
    :cond_0
    return-void

    .line 183
    :cond_1
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 184
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_0

    .line 185
    const/4 v1, 0x0

    iput-boolean v1, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    .line 186
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mContext:Landroid/content/Context;

    check-cast v1, Landroid/app/Activity;

    new-instance v2, Lrexsee/dialog/RexseeImageDialog$4;

    invoke-direct {v2, p0, v0}, Lrexsee/dialog/RexseeImageDialog$4;-><init>(Lrexsee/dialog/RexseeImageDialog;Lrexsee/dialog/ImageDialog;)V

    invoke-virtual {v1, v2}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 193
    :goto_0
    iget-boolean v1, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    if-nez v1, :cond_0

    .line 195
    const-wide/16 v1, 0x64

    :try_start_0
    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 196
    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public dismiss(Ljava/lang/String;)V
    .locals 2
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 103
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 107
    :goto_0
    return-void

    .line 104
    :cond_0
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 105
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lrexsee/dialog/ImageDialog;->dismiss()V

    .line 106
    :cond_1
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method

.method public dismissAll()V
    .locals 5

    .prologue
    .line 109
    iget-object v4, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v4}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v3

    .line 110
    .local v3, "keys":Ljava/util/Set;, "Ljava/util/Set<Ljava/lang/String;>;"
    invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .line 111
    .local v1, "iterator":Ljava/util/Iterator;, "Ljava/util/Iterator<Ljava/lang/String;>;"
    :cond_0
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-nez v4, :cond_1

    .line 116
    iget-object v4, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v4}, Ljava/util/HashMap;->clear()V

    .line 117
    return-void

    .line 112
    :cond_1
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 113
    .local v2, "key":Ljava/lang/String;
    iget-object v4, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v4, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 114
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lrexsee/dialog/ImageDialog;->dismiss()V

    goto :goto_0
.end method

.method public exists(Ljava/lang/String;)Z
    .locals 1
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 145
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method public getIds()Ljava/lang/String;
    .locals 6

    .prologue
    const-string v5, "\""

    .line 151
    const-string v2, ""

    .line 152
    .local v2, "rtn":Ljava/lang/String;
    iget-object v3, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v3}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    .line 153
    .local v0, "ids":Ljava/util/Set;, "Ljava/util/Set<Ljava/lang/String;>;"
    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .line 154
    .end local p0    # "this":Lrexsee/dialog/RexseeImageDialog;
    .local v1, "iterator":Ljava/util/Iterator;, "Ljava/util/Iterator<Ljava/lang/String;>;"
    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_0

    .line 158
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "["

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    return-object v3

    .line 155
    :cond_0
    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_1

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 156
    :cond_1
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\""

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Ljava/lang/String;

    invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_0
.end method

.method public getInheritInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 0
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 22
    return-object p0
.end method

.method public getInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 18
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "ImageDialog"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getNewInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 26
    new-instance v0, Lrexsee/dialog/RexseeImageDialog;

    invoke-direct {v0, p1}, Lrexsee/dialog/RexseeImageDialog;-><init>(Lrexsee/core/browser/Browser;)V

    return-object v0
.end method

.method public getStyle(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 1
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "name"    # Ljava/lang/String;

    .prologue
    .line 142
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, ""

    .end local p0    # "this":Lrexsee/dialog/RexseeImageDialog;
    :goto_0
    return-object v0

    .restart local p0    # "this":Lrexsee/dialog/RexseeImageDialog;
    :cond_0
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    .end local p0    # "this":Lrexsee/dialog/RexseeImageDialog;
    check-cast p0, Lrexsee/dialog/ImageDialog;

    invoke-virtual {p0, p2}, Lrexsee/dialog/ImageDialog;->getStyle(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public loadImage(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "url"    # Ljava/lang/String;

    .prologue
    .line 162
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 180
    :cond_0
    return-void

    .line 163
    :cond_1
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 164
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_0

    .line 165
    const/4 v1, 0x0

    iput-boolean v1, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    .line 166
    iget-object v1, p0, Lrexsee/dialog/RexseeImageDialog;->mContext:Landroid/content/Context;

    check-cast v1, Landroid/app/Activity;

    new-instance v2, Lrexsee/dialog/RexseeImageDialog$3;

    invoke-direct {v2, p0, v0, p2}, Lrexsee/dialog/RexseeImageDialog$3;-><init>(Lrexsee/dialog/RexseeImageDialog;Lrexsee/dialog/ImageDialog;Ljava/lang/String;)V

    invoke-virtual {v1, v2}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 173
    :goto_0
    iget-boolean v1, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    if-nez v1, :cond_0

    .line 175
    const-wide/16 v1, 0x64

    :try_start_0
    invoke-static {v1, v2}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 176
    :catch_0
    move-exception v1

    goto :goto_0
.end method

.method public setClickCallback(Ljava/lang/String;Ljava/lang/String;)V
    .locals 3
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "url"    # Ljava/lang/String;

    .prologue
    .line 202
    iget-object v2, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v2, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_1

    .line 212
    :cond_0
    :goto_0
    return-void

    .line 203
    :cond_1
    iget-object v2, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v2, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrexsee/dialog/ImageDialog;

    .line 204
    .local v0, "dialog":Lrexsee/dialog/ImageDialog;
    if-eqz v0, :cond_0

    .line 205
    new-instance v1, Lrexsee/dialog/RexseeImageDialog$5;

    invoke-direct {v1, p0, p2}, Lrexsee/dialog/RexseeImageDialog$5;-><init>(Lrexsee/dialog/RexseeImageDialog;Ljava/lang/String;)V

    .line 211
    .local v1, "runnable":Ljava/lang/Runnable;
    invoke-virtual {v0, v1}, Lrexsee/dialog/ImageDialog;->setClickCallback(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method public setStyle(Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "style"    # Ljava/lang/String;

    .prologue
    .line 119
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 139
    :cond_0
    return-void

    .line 120
    :cond_1
    const/4 v0, 0x0

    iput-boolean v0, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    .line 121
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/dialog/RexseeImageDialog$2;

    invoke-direct {v1, p0, p1, p2}, Lrexsee/dialog/RexseeImageDialog$2;-><init>(Lrexsee/dialog/RexseeImageDialog;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 132
    :goto_0
    iget-boolean v0, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    if-nez v0, :cond_0

    .line 134
    const-wide/16 v0, 0x64

    :try_start_0
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 135
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public show(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 2
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "url"    # Ljava/lang/String;
    .param p3, "style"    # Ljava/lang/String;

    .prologue
    .line 48
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 100
    :cond_0
    return-void

    .line 49
    :cond_1
    const/4 v0, 0x0

    iput-boolean v0, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    .line 50
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    new-instance v1, Lrexsee/dialog/RexseeImageDialog$1;

    invoke-direct {v1, p0, p2, p3, p1}, Lrexsee/dialog/RexseeImageDialog$1;-><init>(Lrexsee/dialog/RexseeImageDialog;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/app/Activity;->runOnUiThread(Ljava/lang/Runnable;)V

    .line 93
    :goto_0
    iget-boolean v0, p0, Lrexsee/dialog/RexseeImageDialog;->syncTag:Z

    if-nez v0, :cond_0

    .line 95
    const-wide/16 v0, 0x64

    :try_start_0
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    .line 96
    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public size()I
    .locals 1

    .prologue
    .line 148
    iget-object v0, p0, Lrexsee/dialog/RexseeImageDialog;->mMap:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->size()I

    move-result v0

    return v0
.end method
